package cn.pli.bike.ui;

import android.support.v7.widget.RecyclerView;

import com.framemodule.utils.CommonUtils;
import com.nostra13.universalimageloader.core.ImageLoader;

import cn.bingoogolapple.androidcommon.adapter.BGARecyclerViewAdapter;
import cn.bingoogolapple.androidcommon.adapter.BGAViewHolderHelper;
import cn.pli.bike.R;
import cn.pli.bike.bean.AnnouncementBean;
import cn.pli.bike.bean.ExpensesRecordBean;

/**
 * Created by shangdongzhou on 2017/11/19.
 */

public class GiftDetailAdapter extends BGARecyclerViewAdapter<AnnouncementBean> {

    public GiftDetailAdapter(RecyclerView recyclerView) {
        super(recyclerView, R.layout.item_gift_detail);
    }

    @Override
    protected void fillData(BGAViewHolderHelper helper, int position, AnnouncementBean model) {
        ImageLoader.getInstance().displayImage(model.getTitleImg(), helper.getImageView(R.id.iv_gift_cover));
    }
}
